package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierDao {
    List<Supplier> queryPageSuppliers(@Param("jumpCount") Integer jumpCount, @Param("rows")Integer rows
            ,@Param("supplierName") String supplierName);

    Integer queryPageSuppliersCount(@Param("supplierName") String supplierName);

    void save(Supplier supplier);

    Integer update(Supplier supplier);

    Integer deleteSupplierByIds(@Param("idList")List<String> idList);
}
